package pt.isel.pdm.ouryamba;

import android.net.Uri;

/**
 * Represents the information of the table Status that will be available do the developer.
 * */
public class DbStatusContract 
{
	/**
	 * Represents the name of the table Status.
	 * */
	public static final String TABLE  = "Status";
	/**
	 * Represents the URI of the table Status.
	 * */
	public static final Uri CONTENT_URI = Uri.withAppendedPath(DbStatusProvider.CONTENT_URI, TABLE);
	
	/**
	 * The expected position of the column on the cursor.
	 * */
	public static final int 
		ID_POS = 0,
		CREATED_AT_POS = 1,
		MESSAGE_POS = 2,
		USER_NAME_POS = 3,
		COMMITTED_POS = 4;
	
	/**
	 * Represents the columns of the table Status.
	 * */
	public static final int TOTAL_COLUMNS = 5;
	
	public static final String 
		ID = "_id",
		CREATED_AT = "createdAt",
		MESSAGE = "message",
		USER_NAME = "u_name",
		COMMITTED = "committed";
}